#include "acl_stdafx.hpp"
#include "acl_cpp/stream/ofstream.hpp"

namespace acl {

	ofstream::ofstream()
	{
	}

	ofstream::~ofstream()
	{
	}

	bool ofstream::open_write(const char* path)
	{
		return (open(path, O_WRONLY | O_TRUNC | O_CREAT, 0600));
	}

	bool ofstream::open_append(const char* path)
	{
		return (open(path, O_WRONLY | O_APPEND | O_CREAT, 0600));
	}

} // namespace acl
